<template>
  <div id="navBottom">
    <div class="nav-bottom" v-show="!$route.meta.isShow">
      <router-link to="/" exact><i class="iconfont icon-fangzi"></i>凡客</router-link>
      <router-link to="/fenlei"><i class="iconfont icon-fenlei1"></i>分类</router-link>
      <router-link to="/pindao"><i class="iconfont icon-dianshi"></i>频道</router-link>
      <router-link to="/shopcart"><i class="iconfont icon-gouwuche2"><em>{{this.$store.state.cart.totalCount || 0}}</em></i>购物车</router-link>
      <router-link to="/my"><i class="iconfont icon-wo1"></i>我的</router-link>
    </div>
  </div>
</template>

<script>
export default {
  data() {
    return {
    };
  },
  components: {
  },

  methods: {},

  watch:{
  }
};
</script>

<style lang="scss" scoped>
#navBottom:after{
  content: "";
  display: block;
  height: 50px;
}
.nav-bottom{
  width: 100%;
  height: 50px;
  position: fixed;
  bottom: 0;
  background: rgb(255, 255, 255);
  margin-top: 50px;
  z-index: 999;
  display: flex;
  justify-content: space-between;
  a{
    display: block;
    width: 20%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: rgb(92, 92, 92);
    position: relative;
    &:nth-of-type(4) .iconfont em{
      width: 16px;
      height: 16px;
      display: block;
      border-radius: 50%;
      text-align: center;
      line-height: 17px;
      font-size: 12px;
      color: #fff;
      background: rgb(184,28,34);
      position: absolute;
      top: 0;
      right: 18px;
    }
    &.activeBottom{
      color: rgb(184,28,34);
    }
    .iconfont{
      font-size: 22px;
      &:nth-of-type(3){
        font-size: 300px;
      }
    }
  }
}
</style>